home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Buffers
/
BufferOfSize.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-06-28
|
291 b
|
23 lines
|
[
TEXT/CWIE
]
// BufferOfSize.h
#ifndef BufferOfSize_h
#define BufferOfSize_h
#ifndef Buffer_h
#include "Buffer.h"
#endif
template < uint32 size >
class BufferOfSize: public Buffer
{
private:
uint8 space[ size ];
public:
BufferOfSize()
: Buffer( Data( space, size ) )
{}
};
#endif